package org.thingsboard.server.dao.schedulerEvent;
import org.thingsboard.server.common.data.SchedulerEventInfo;
import org.thingsboard.server.common.data.SchedulerEventStatus;
import org.thingsboard.server.common.data.page.PageData;
import org.thingsboard.server.common.data.page.PageLink;
import org.thingsboard.server.dao.Dao;
import org.thingsboard.server.dao.TenantEntityDao;

import java.util.List;
import java.util.UUID;


public interface SchedulerEventInfoDao extends Dao<SchedulerEventInfo>, TenantEntityDao {


    PageData<SchedulerEventInfo> findSchedulerEventInfosByTenantId(UUID id, PageLink pageLink);

    PageData<SchedulerEventInfo> findSchedulerEventInfosByTenantIdAndCustomerId(UUID id, UUID customerId, PageLink pageLink);

    List<SchedulerEventInfo> findSchedulerEventInfosByStatus(SchedulerEventStatus status,PageLink pageLink);
}
